﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using StringFormateHelper;
namespace StringPlay
{
    public partial class ConversionFuntion : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void btnDecimal_Click(object sender, EventArgs e)
        {
            lblDecimal.Text = txtDecimal.Text.ToDecimal().ToString();
        }
        protected void btnDouble_Click(object sender, EventArgs e)
        {
            lblDouble.Text = txtDouble.Text.ToDouble().ToString();
        }
        protected void btnInteger_Click(object sender, EventArgs e)
        {
            lblInteger.Text = txtInteger.Text.ToInt().ToString();
        }
        protected void btnLongInteger_Click(object sender, EventArgs e)
        {
            lblLongInteger.Text = txtLongInteger.Text.ToBigInt().ToString();
        }
    }
}